﻿@model MiniScrum.Models.ScrumSummary
@{
    ViewBag.Title = "UserScrumSummary";
}
<script type="text/javascript">
    $(".date-field > input").datepicker();

</script>
<h2>
    My Scrum</h2>
<fieldset>
    <legend>Summary</legend>
    <div class="wrap">
        <div id="col1">
            <h3>
                Completed Tasks</h3>
            <ul id="completedtasks">
                @if (Model.CompletedTasks != null)
                {
                    foreach (var task in Model.CompletedTasks)
                    {
                    <li>@task.Value</li>
                    }
                }
            </ul>
            <br />
            <h3>
                Pending Tasks</h3>
            <ul id="pendingtasks">
                @if (Model.PendingTasks != null)
                {
                    foreach (var task in Model.PendingTasks)
                    {
                    <li>@task.Value</li>
                    }
                }
            </ul>
            <br />
            <h3>
                Blockers</h3>
            <ul id="pendingtasks">
                @if (Model.Blockers != null)
                {
                    foreach (var block in Model.Blockers)
                    {
                    <li>@block.Value</li>
                    }
                }
            </ul>
            <br />
        </div>
        <div id="col2">
            @Html.ActionLink("Add Task", "CreateTask")
        </div>
    </div>
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index", "Home")
</p>
